import http from '@/utils/http'

// 获取已经接入的班级
export async function getHandleClassApi(param){
    return http.get("/tea/HandleClass/list",param)
}
//批量删除
export async function delHandleClassByIdsApi(param){
    return http.post("/tea/HandleClass/deleteByIds",param)
}
//单删
export async function delHandleClassByIdApi(param){
    return http.get("/tea/HandleClass/deleteById",param)
}

//编辑并唤起隐藏框  有更好写法
export async function findByHandleClassId(param){
    return http.get("/tea/HandleClass/findById",param)
}

//编辑
export async function updateHandleClassApi(param){
    return http.post("/tea/HandleClass/updateById",param)
}
//添加
export async function insertHandleClassApi(param){
    return http.post("/tea/HandleClass/save",param)
}

//统计当前老师管理的班级
export async function getMyHandleClassCountApi(param){
    return http.get("/tea/HandleClass/getMyHandleClassCount",param)
}